/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

/**
 *
 * @author Thanh Minh
 */
public class BenhNhan {

    private int MaBN;
    private String HoTen;
    private int GioiTinh;
    private int NamSinh;
    private String DiaChi;

    public BenhNhan() {
        this.MaBN=-1;
        this.HoTen="";
        this.GioiTinh=0;
        this.DiaChi="";
        this.NamSinh = 1999;
    }
    public BenhNhan(BenhNhan BN){
        this.MaBN=BN.MaBN;
        this.HoTen = BN.HoTen;
        this.GioiTinh = BN.GioiTinh;
        this.NamSinh  = BN.NamSinh;
        this.DiaChi = BN.DiaChi; 
    }

    public int getMaBN() {
        return MaBN;
    }

    public void setMaBN(int MaBN) {
        this.MaBN = MaBN;
    }

    public String getHoTen() {
        return HoTen;
    }

    public void setHoTen(String HoTen) {
        this.HoTen = HoTen;
    }

    public int getGioiTinh() {
        return GioiTinh;
    }

    public void setGioiTinh(int GioiTinh) {
        this.GioiTinh = GioiTinh;
    }

    public int getNamSinh() {
        return NamSinh;
    }

    public void setNamSinh(int NamSinh) {
        this.NamSinh = NamSinh;
    }

    public String getDiaChi() {
        return DiaChi;
    }

    public void setDiaChi(String DiaChi) {
        this.DiaChi = DiaChi;
    }
    
}
